<?php
class news_blacklistModel extends model{
	public $base;
	public function __construct(&$base){
		parent::__construct($base);
		$this->table="news_blacklist";
	}
	
	public function check($userid){
		$row=$this->selectRow("userid=".$userid);
		if($row){
			C()->goAll("您无权限",1);
		}
	}
	 
}

?>